/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.service;

import com.techshop.model.Phone;
import java.util.List;

/**
 *
 * @author Hai-PC
 */
public interface PhoneService
{    
    public Phone getById(int phoneId);
    public List<Phone> getAll();
    public List<Phone> search(String name, int category, int manufacturer);
    public void updateQuantity(int phoneId, int quantity);
    public void updateNumSlide(int phoneId, int numSlide);
    public boolean insert(Phone phone);
    public boolean update(Phone phone);
    public boolean delete(Phone phone);
}